﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate;

namespace BasicFrameworkDemo.Model
{
    using FluentNHibernate.Mapping;
    using FluentNHibernate.Automapping;

    public class LoginEntityMapping : ClassMap<LoginEntity>
    {
        public LoginEntityMapping()
        {
            Table("Login");
            Id(x => x.Id).GeneratedBy.GuidComb();
            Map(x => x.UserName);
            Map(x => x.Password);
            Map(x => x.CreationDate);
        }
    }
}
